﻿using Microsoft.AspNetCore.Mvc.Filters;

namespace XLAction
{
    /// <summary>
    /// 构造引用
    /// </summary>
    public class MyAuthentication : Attribute, IFilterMetadata
    {
        //默认全部控制器限制
    }
    public class MyNoAuthentication : Attribute, IFilterMetadata
    {
        //给控制器或者单独接口打上MyNoAuthentication标签，则不验证
    }
}
